/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package game;

import framework.GameObject;
import framework.Util;
import java.awt.Graphics;

/**
 *
 * @author Ilha - 01
 */
public class Menu extends GameObject {

    public Menu() {
        this.x = 0;
        this.y = 0;
    }



    @Override
    public void update() {
        this.image = Util.loadImage(Global.IMG_MENU);
        width = image.getWidth(null);
        height = image.getHeight(null);
    }

    @Override
    public void paint(Graphics g) {
        g.drawImage(this.image, x, y, null);
    }
}
